package com.ruoyi.system.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.Date;

@Data
@Schema(description = "任务执行结果")
public class TaskExecutionResult {
    @Schema(description = "任务ID")
    private Long taskId;
    @Schema(description = "任务名称")
    private String taskName;
    @Schema(description = "任务详情ID")
    private Long taskDetailId;
    @Schema(description = "任务类型")
    private Integer taskType;
    @Schema(description = "任务类型名称")
    private String taskTypeName;
    @Schema(description = "任务状态")
    private Integer status;
    @Schema(description = "任务状态描述")
    private String statusDesc;
    @Schema(description = "任务执行结果")
    private Date startTime;
    @Schema(description = "任务执行结果")
    private Date endTime;
    @Schema(description = "任务执行进度")
    private Double progress;
    @Schema(description = "任务执行结果")
    private String errorMessage;
    @Schema(description = "重试次数")
    private Integer retryCount;
    @Schema(description = "包名")
    private String packageName;
    @Schema(description = "应用名称")
    private String appName;
    @Schema(description = "版本号")
    private String packageVersion;
    @Schema(description = "包类型")
    private Integer packageType;
    @Schema(description = "包类型名称")
    private  String packageTypeName;
    @Schema(description = "包大小")
    private Double packageSize;
    @Schema(description = "任务优先级")
    private Integer taskPriority;
    @Schema(description = "强制退出应用并更新")
    private Boolean forceQuitApp;
    @Schema(description = "不兼容设备更新")
    private Boolean autoRetry;
}